ELG 7187C --- Winter 2009 --- Exercise 2 --- Reachability Analysis

(January 31, 2009, due date February 11)


  1. The figure above shows two LTSs A and B that communicate with one another by rendezvous for the interactions a, b, c and d , while x and e are independent: Please consider the composition of these two machines and indicate its behavior (in the form of a single LTS), that means, do a reachability analysis (do you detect any design error ? ). If you find a problem with the design, please suggest a modification of the defined behavior for the machines in order to resolve the identified problem. Please explain !
  2. The figure above shows two IOAs C and D where alll the interactions a, b, c, d and e are with one another (the ! indicates output and ? indicates input): Please consider the composition of these two machines and indicate its behavior (in the form of a single state machine), that means, do a reachability analysis (do you detect any design error ? ). If you find a problem with the design, please suggest a modification of the defined behavior for the machines in order to resolve the identified problem. Please explain !
  3. Now consider again the machines C and D, but assume that they communicate asynchronously, that is an output is first put into a queue before it is received by the other side, that is, assume that these are two communicating finite state machines: Please consider the composition of these two machines and indicate its behavior (in the form of a single transition diagram), that means, do a reachability analysis (do you detect any design error ? ) . If you find a problem with the design, please suggest a modification of the defined behavior for the machines in order to resolve the identified problem. If the reachable queue length is not bounded you will not be able to perform a complete reachability analysis.  Please explain !